package com.pkx.cloud.fse7.dms.openrecord.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chenwg
 * @since 2020-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DmsOpenRecord")
@ApiModel(value = "开门记录对象", description = "开门记录对象")
public class OpenRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    private String TcmId;
    @ApiModelProperty(value = "人员编号")
    private String StaffNo;
    private String Gid;
    private String TokenId;
    @ApiModelProperty(value = "组织机构")
    private String OrganizationName;
    @ApiModelProperty(value = "体温")
    private Float BodyTemperature;
    @ApiModelProperty(value = "操作时间")
    @TableField(exist = false)
    private Date OperateDate;
    @ApiModelProperty(value = "门号")
    private Long DoorNo;
    @ApiModelProperty(value = "凭证类型")
    private Integer TokenType;
    @ApiModelProperty(value = "卡类名称")
    private String TcmName;
    private String OpenPicNo;
    private String Rid;
    @ApiModelProperty(value = "工作站id")
    private String WorkStationId;
    private Long Id;
    @ApiModelProperty(value = "设备类别")
    private String DevTypeCode;
    private Integer GidIndex;
    @ApiModelProperty(value = "备注")
    private String Remark;
    @ApiModelProperty(value = "设备名称")
    private String DevName;
    @ApiModelProperty(value = "人员名称")
    private String StaffName;
    @ApiModelProperty(value = "开门时间")
    private Date OpenDate;
    @ApiModelProperty("组织机构编号")
    private String OrganizationNo;
    @ApiModelProperty("工作站名称")
    private String WorkStationName;
    private Integer Flag;
    @ApiModelProperty(value = "人员id")
    private String StaffId;
    @ApiModelProperty(value = "设备编号")
    private Long DevNo;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @TableField(exist = false)
    private Integer index;
    @TableField(exist = false)
    private Integer type;
}
